package com.qf.sclg.result;

/**
 * Created with IntelliJ IDEA.
 * User: 吴绍坤
 * Date: 2021/10/12 16:35
 * Description:
 * Version: V1.0
 */

public enum ResponseCode {
    SUCCESS("200", "success" ),
    ERROR("500", "systemError"),
    SQLEXCEPTION("10000","sql异常"),
    PARAMEXCEPTION("1001", "canshuyichang");
    private String code;

    private String message;

    ResponseCode(String code,String message) {
        this.code = code;
        this.message=message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
